import unittest

import pytest

from Zsd.unittestexcul import A3mall1


# TestSuite测试套件 1
# suite=unittest.TestSuite()
# suite.addTest(A3mall('test_A3mall_02_search'))

# 将A3mall里面全部执行一遍 2
# suite=unittest.TestLoader().loadTestsFromTestCase(A3mall)

# 3

# suite=unittest.defaultTestLoader.discover(start_dir='./Lx',pattern='unittestc*.py')

suite=unittest.defaultTestLoader.discover(start_dir='./Zsd',pattern='pytestb*.py')


# TestRunner测试执行
runner=unittest.TextTestRunner()
runner.run(suite)


# if __name__ == '__main__':
#     pytest.main(['./Lx/test_playwrightb.py', '-s'])

